{% extends "template_register.html" %}
{% load staticfiles %}
{% block title %} error {% endblock %}
{% block content %}
<!-- top tiles -->
<div style="margin:0 auto;height:300px;width:300px;">
	<form method="post" class="form-signin" enctype="multipart/form-data" action="{% url 'validate' %}">
		{% csrf_token %}
        <h2 class="form-signin-heading" style="text-align:center">{{ error_message }}</h2>
        <input type="hidden" class="form-control" name="keystone_user_id" value="{{ keystone_user_id }}">
        <label for="id_username" class="sr-only">userName:</label>
        <input type="text" class="form-control" id="id_username" maxlength="100" name="username"  placeholder="UserName" required autofocus>
        <label for="id_password" class="sr-only">Password</label>
        <input type="password" class="form-control" id="id_password" name="password" placeholder="Password" required>
        <input class="btn btn-lg btn-primary btn-block" type="submit" value="校验">
</form>
</div>
{% endblock %}

